#include <iostream>
#include "Database.h"

using namespace std;
using namespace Records;

int main(int argc, char const *argv[])
{
    Database myDB;
    
    Employee& emp1 = myDB.addEmployee("Greg", "Wallis");
    emp1.fire();

    Employee& emp2 = myDB.addEmployee("Scott", "Kleper");
    emp2.setSalary(100000);
    emp2.promote();

    cout << "all employees: " << endl;
    cout << endl;
    myDB.displayAll();
    cout << endl;

    cout << "current employees: " << endl;
    cout << endl;
    myDB.displayCurrent();
    cout << endl;

    cout << "former employees: " << endl;
    cout << endl;
    myDB.displayFormer();
    
    return 0;
}
